package cn.javass.dp.chianofresponsibility.mydemo3;

public abstract class LeaderHandle {

    protected LeaderHandle successor;

    public void setSuccessor(LeaderHandle successor) {
        this.successor = successor;
    }

    //处理请求的方法
    public abstract void handleRequest(int leaveDays);

}
